package com.mallcloud.mall.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@ApiModel(value = "UserProfileDTO", description = "用户修改")
@Data
public class UserProfileDTO {

	@NotBlank(message = "用户名不能为空")
	@ApiModelProperty(value = "用户名")
	private String username;

	@ApiModelProperty(value = "头像地址")
	private String avatar;

	@ApiModelProperty(value = "昵称")
	private String nickname;

}
